// 主页请求
import { requestAsync } from "../../../utils/requestService"

// 详情
async function queryproductRequest(requestBody, headers = {}) {
  let address = '/queryproduct';
  let resultObj = await requestAsync(address, 'POST', requestBody, headers);
  return resultObj;
}
// 下单
async function makeorderRequest(requestBody, headers = {}) {
  let address = '/makeorder';
  let resultObj = await requestAsync(address, 'POST', requestBody, headers);
  return resultObj;
}

export { queryproductRequest,makeorderRequest }